﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.LearnTrain.DriverLearningTrainRecord.DriverLearningTrainRecordRequest
{
    public class DriverLearningTrainRecordRequestDto
    {
        /// <summary>
        /// X坐标
        /// </summary>
        [Display(Name = "X坐标")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public double Postion_X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        [Display(Name = "Y坐标")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public double Postion_Y { get; set; }
        /// <summary>
        /// 坐标地址
        /// </summary>
        [Display(Name = "坐标地址")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string PostionAddress { get; set; }
        /// <summary>
        /// 培训图片
        /// </summary>
        [Display(Name = "培训图片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string PhotoAddress { get; set; }
    }
}
